
<input type="hidden" name="post.id" value="${(post.id)!}" />

  <div class="control-group">
	<label class="control-label" for="prependedInput">标题<span class="required">*</span></label>
	<div class="controls">
		<input class="m-wrap medium" required id="title" name="post.title" value="${(post.title)!}" size="16" type="text">
	</div>
  </div>
  <div class="control-group">
	<label class="control-label" for="prependedInput">内容<span class="required">*</span></label>
	<div class="controls">
		<!--<input class="m-wrap medium" required id="content" name="post.content" value="${(post.content)!}" size="16" type="text">-->
        <script id="editor" type="text/plain" style="width:1024px;height:500px;"></script>
	</div>
  </div>
   <div class="control-group">
	<label class="control-label" for="prependedInput">作者</label>
	<div class="controls">
	  <select class="m-wrap medium"  id="user_id" name="post.user_id">
	  	<#list user as c>
	  	<option value="${c.id}" ${(((post.user.id)!1)?number == c.id?number)?string('selected','')}>${c.id}</option>
		</#list>
	  </select>
	</div>
  </div>
  <div class="control-group">
	<label class="control-label" for="prependedInput">发表时间</label>
	<div class="controls">
		<input class="m-wrap medium"  id="post_date" name="post.post_date" value="${(post.post_date)!}" size="16" type="text">
	</div>
  </div>
   <div class="control-group">
	<label class="control-label" for="prependedInput">类别</label>
	<div class="controls">
	  <select class="m-wrap medium"  id="category_id" name="post.category_id">
	  	<#list category as c>
	  	<option value="${c.id}" ${(((post.category.id)!1)?number == c.id?number)?string('selected','')}>${c.id}</option>
		</#list>
	  </select>
	</div>
  </div>
         

	<div class="form-actions">

		<button type="submit" class="btn blue"><i class="icon-ok"></i>保存</button>

		<button type="button" class="btn">取消</button>

	</div>

